package com.zkj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zkj.entity.AddressBook;

import java.util.List;

/**
 * <p>
 * 地址簿 服务类
 * </p>
 *
 * @author zkj
 * @since 2024-08-22
 */
public interface AddressBookService extends IService<AddressBook> {

    List<AddressBook> list(AddressBook addressBook);

    void saveAddressBook(AddressBook addressBook);

    AddressBook getById(Long id);

    void update(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deleteById(Long id);
}
